package com.lzc.tlmail.tlmailorder.feign;

import com.lzc.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author lzc
 * @create 2020-10-21 17:05
 */
@FeignClient("product-service")
public interface ProductFeignService {

    /**
     * 根据skuid得到spu信息
     */
    @RequestMapping("/product/spuinfo/getSpuInfoBySkuId/{skuid}")
    R getSpuInfoBySkuId(@PathVariable("skuid") Long skuid);
}
